package TheGame.Levels.tiles;

import TheGame.Graphics.Screen;
import TheGame.Graphics.Sprite;

public class Tile {
	
	public int x, y;
	public Sprite sprite;
	
	public static Tile grass = new GrassTile(Sprite.grass);
	public static Tile flower = new FlowerTile(Sprite.flower);
	public static Tile rock = new RockTile(Sprite.rock);
	public static Tile flower2 = new FlowerTile(Sprite.flower2);
	public static Tile fire = new RockTile(Sprite.fire);
	public static Tile fire_purple = new RockTile(Sprite.fire_purple);
	public static Tile fire_out = new RockTile(Sprite.fire_out);
	public static Tile wall = new WallTile(Sprite.wall);
	public static Tile side_wall = new WallTile(Sprite.side_wall);
	public static Tile brick = new WallTile(Sprite.bricks);
	public static Tile floor = new WallTile(Sprite.floor);	

	public static Tile voidTile = new VoidTile(Sprite.voidSprite);
	
	public Tile(Sprite sp){
		sprite = sp;
	}
	
	public void render(int x, int y, Screen screen){
		this.x = x;
		this.y = y;
	}
	
	public boolean isSolid(){
		return false;
	}
}
